From 1222dc4a6038b77ab411f06c9afa396ef9dc8d74 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 5 Nov 2002 18:05:25 +0000 Subject: [PATCH] Remove free from get_options. Thanx, Alex! --- vecs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vecs.c b/vecs.c index 9f7bfd6f9..a06a82769 100644 --- a/vecs.c +++ b/vecs.c @@ -222,7 +222,11 @@ get_option(const char *iarglist, const char *argname) break; } } - free(arglist); + /* + * Return an offset into the allocated copy. + * The caller mustn't free or otherwise get froggy with + * this data. + */ return rval; } -- 2.30.2